package com.wisdom.core.data;

import lombok.Data;

@Data
public class RpcResponse {
    private String requestId;
    private Object result;
    private Throwable cause;

    public boolean isError() {
        return cause != null;
    }
}
